<template>
	<div class="main">
		<editor v-model="data"></editor>
	</div>
</template>

<script setup>
import editor from "@/components/LowCode/editor.jsx"
import dataJson from "./data.json"
import {editorConfig as config} from "@/components/LowCode/editor-config.jsx"
import { ref,provide } from "vue"

const data = ref(dataJson)
provide("config", config)
</script>

<style lang="scss" scoped>
.main {
	width: 100%;
	height: calc(100vh - 155px);
}
</style>
